#!/bin/bash

version="1.4"

rm -fr tmp
rm -fr "ukyfd-all-$version.jar"
mkdir tmp
pushd tmp
for file in `ls ../lib/*.jar`
do
  jar xvf ../lib/$file
done
for file in `ls ../lib_managed/scala_2.8.0-20091106.025327-+/compile/*.jar`
do
  jar xvf ../lib/$file
done
jar xvf ../project/boot/scala-2.8.0-20091106.025327-+/lib/scala-library.jar
jar xvf "../target/scala_2.8.0-20091106.025327-+/uykfd_2.8.0-20091106.025327-+-$version.jar"
jar cvfm "../uykfd-all-$version.jar" META-INF/MANIFEST.MF *
